package com.kara.woodAgent.common.exception;

import lombok.Data;

/**
 * @author szht
 * @version 1.0
 * @project tiny-admin
 * @description
 * @date 2024/10/10 14:54:23
 */
@Data
public class BizException extends RuntimeException{

	private Integer code;
	public BizException(String message) {
		super(message);
	}

	public BizException(Integer code, String message) {
		super(message);
		this.code=code;
	}
}
